﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 逻辑
{
    abstract public class QiZi
    {
        public int x, y;
        public List<int> canPut;
        public int Player;
        public Button[,] buttons;
        public QiZi(string a,int x,int y,QiPan q,int b,Button[,] u)
        {
            name = a;
            this.x = x;
            this.y = y;
            Player = b;
            this.canPut = q.canPut;
            this.buttons = u;
        }
        public string name { get; set; }
        public abstract void CanPut();

        
    }
}
